package org.springblade.modules.repair.vo.statistics.by;

import cn.hutool.core.date.DateUtil;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.codehaus.jackson.annotate.JsonIgnore;
import org.springblade.modules.repair.utils.DateUtils;

import java.math.BigDecimal;
import java.math.RoundingMode;

/**
 * @Date 11:41 2022/11/29
 * @Description {
 *    保养统计页面工作时长详情
 * }
 * @Author lsay
 **/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CheckStatisticsWorkTimeDetailVO {

	/**
	 * 总工单数
	 */
	private Long planTotal;

	/**
	 * 累计作业时长（时）
	 */
	private BigDecimal workTimeHour;

	/**
	 * 平均作业时长（分）
	 */
	private BigDecimal workTimeMinAve;

	public CheckStatisticsWorkTimeDetailVO() {
		this.planTotal = 0L;
		this.workTimeHour = BigDecimal.valueOf(0.0);
		this.workTimeMinAve = BigDecimal.valueOf(0.0);
	}
}
